package com.cykj.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDO {

    private Integer courseId;
    private String courseName;
    private String courseIntroduce;
    private String courseCover;
    private Double coursePrice;
    private String courseVideo;
    private Integer categoryId;
    private Integer courseStatus;
    private java.sql.Timestamp createTime;

    public CourseDO(Integer courseId, String courseName, String courseIntroduce, Integer categoryId, String courseCover, String courseVideo, Double coursePrice) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.courseIntroduce = courseIntroduce;
        this.categoryId = categoryId;
        this.courseCover = courseCover;
        this.courseVideo = courseVideo;
        this.coursePrice = coursePrice;
    }

    public CourseDO(String courseName, Integer categoryId, String courseIntroduce, String courseCover, String courseVideo, Double coursePrice) {
        this.courseName = courseName;
        this.courseIntroduce = courseIntroduce;
        this.courseCover = courseCover;
        this.categoryId = categoryId;
        this.courseVideo = courseVideo;
        this.coursePrice = coursePrice;
    }
}
